package com.lczc.soa.service;

import com.lczc.soa.domain.Apply;
import com.lczc.soa.domain.SearchApplyResponse;

import java.util.List;

public interface ApplyService {

    SearchApplyResponse findAllApply(Integer pageNum, Integer pageSize);

    SearchApplyResponse findApplyLikeName(String keywords, Integer pageNum, Integer pageSize);

    Apply findApplyById(String applyId);

    int saveApply(Apply apply);

    List<Apply> findApplyByUserId(String id);

    SearchApplyResponse findApplyByUser(String id, Integer pageNum, Integer pageSize);

    SearchApplyResponse findApplyLikeByUser(String keywords, String id, Integer pageNum, Integer pageSize);
}
